/* Logo 字体 */
@font-face {
    font-family: "iconfont logo";
    src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
    src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.top {
    background-color: #333333;
    height: 60px;
}

.top_navigation_bar {
    display: flex;
    justify-content: flex-end;
    margin-right: 250px;
}

.top_navigation_bar>a {
    color: white;
    line-height: 60px;
    padding:0 5px;
    text-decoration: none;
    font-size: 14px;
}

.top_navigation_bar>a:hover {
    color:#27BA9B;
}

.top_navigation_bar span{
    color: white;
    line-height: 60px;
}
/* 页面布局 */
.main {

}

.top2 {
    display: flex;
    margin-right: 210px;
    margin-left: 210px;
    /*margin-top: 30px;*/
    height: 132px;
    flex-wrap: nowrap; /* 禁止换行 */
    overflow-x: auto; /* 如果内容过多可横向滚动 */
    list-style: none; /* 移除默认列表样式 */
    align-items: center; /* 垂直居中 */
    background-color: #fff; /* 白色背景 */
    border-bottom: 1px solid #eee; /* 底部边框 */
}


.top_logo {
    flex: 4;
    max-width: 200px;
}

.top_logo img {
    /*height: 132px;*/
    width: 100%;
}

.top_choose {
    flex: 16;
    display: flex; /* 启用Flex布局 */
}

.top_choose>a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 10px 0;
    font-size: 16px;
    /* 优化后的字体栈 */
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* 添加过渡动画 */
    transition: color 0.3s ease;
    /* 可选：设置点击区域 */
    cursor: pointer;
}

.top_choose>a:hover {
    color: #27BA9B;
    text-decoration: underline; /* 鼠标悬停时显示下划线 */
    text-decoration-color: #27BA9B; /* 下划线颜色（红色） */
    text-decoration-thickness: 1px; /* 下划线粗细 */
    text-underline-offset: 6px; /* 关键：控制下划线距离 */
}

.top_search {
    display: flex;       /* 启用 Flex 布局 */
    align-items: center; /* 垂直居中 */
}

.top_search div {
    display: flex;      /* 内部容器也设为 Flex */
    align-items: center; /* 图标和输入框垂直居中 */
    /*border: 1px solid #ddd; !* 可选：添加边框 *!*/
    border-radius: 20px; /* 可选：圆角 */
    padding: 5px 10px;  /* 可选：内边距 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1),
    0 1px 2px rgba(0,0,0,0.05);
}

.top_search .iconfont {
    margin-right: 8px;  /* 图标和输入框间距 */
}

.top_search input {
    border: none;        /* 移除默认边框 */
    outline: none;      /* 移除聚焦边框 */
    flex: 1;            /* 输入框自动填充剩余空间 */
}

.top_cart {
    flex: 1;
    position: relative;  /* 父容器设为相对定位 */
    display: inline-block;
    /*border: 1px solid lawngreen;*/
}

.top_cart a {
    text-decoration: none;
    color: white;
}

.cart_msg {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #E26237;
    border-radius: 41%;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 30px;
    bottom: 25px;
}

.badge {
    position: absolute;
    top: -50px;          /* 上下位置：数值越大越往下 */
    right: -5px;        /* 左右位置：数值越大越往左 */
    min-width: 26px;
    padding: 2px;
    background: #FF6700;/* 橙色背景 */
    color: white;
    border-radius: 100%; /* 圆形效果 */
    font-size: 15px;
    text-align: center;
}

.top_cart .iconfont {
    /*position: absolute; !* 绝对定位 *!*/
    bottom: 0;            /* 贴顶部 */
    right: 0;          /* 贴右侧 */
    font-size: 45px;   /* 图标大小 */
    color: #333;       /* 图标颜色 */
}

.middle {
    height: 504px;
    display: flex;
    background-color: #F5F5F5;
}

.left_list {
    position: absolute;
    background: rgba(255,255,255,0.85);
    background-color: #87898B;
    display: flex;
    top: 0;
    left: 0;
    width: 250px;
    height: 504px;
    overflow: hidden;
}

.left_list ul {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.left_list ul li {
    flex: 1; /* 等高分布：关键！每个li高度自动均分 */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.left_list ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 10px;
    text-decoration: none;
    color: white;
    white-space: nowrap;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    border-radius: 18px; /* 圆角 */
    transition: background 0.3s;
}

.left_list ul li a:hover {
    background-color: #98FB98; /* 绿色背景 */
    color: #fff;
}

.first_text {
    margin-left: 10px;
    font-size: 16px;
    font-weight: 500;
}

.sec_text {
    font-size: 14px;
    margin-left: 6px;
}

.jiantou {
    margin-left: auto;
    margin-right: 10px;
}

/* 设置 .right_swiper 容器的样式 */
.right_swiper {
    margin: 0 210px;
    width: 100%; /* 确保容器占据可用宽度 */
    position: relative; /* 确保 Swiper 容器为相对定位 */
    height: 504px;
    overflow: hidden;
}

/* 设置 .swiper-slide 的样式 */
.swiper-slide {
    width: 100%; /* 图片宽度占满容器 */
    height: 100%; /* 图片高度占满容器 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* 超出部分隐藏 */
    position: absolute;
}

/* 设置图片的样式 */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并覆盖整个容器 */
    object-position: center; /* 图片居中显示 */
    /*border: 5px solid red;*/
    position: absolute;
}

.pagination {
    position: absolute;
    bottom: 20px; /* 距离底部 20px，可根据需要调整 */
    right: 20px; /* 或使用 left: 50%; transform: translateX(-50%) 让它居中 */
    z-index: 10;
    display: flex;
    gap: 10px;

}

.dot {
    position: relative;
    /*background: rgba(255,255,255,0.85);*/
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    background-color: #ffffff; /* 所有圆点为白色 */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 普通阴影 */
    transition: all 0.3s ease;
}

.dot.active {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5); /* 选中时外围浅色光圈 */
    transform: scale(1.2);
}

.bottom_content {
    margin: 0 210px;
    margin-top: 30px;
}

.bottom_content h5 {
    font-weight: normal;
}

.bottom_content h4 {
    font-weight: normal;
}

.bottom_2 {
    height: 300px;
    padding-top: 60px;
}

.bottom_3 {
    display: flex;
}

.bottom_3 div {
    flex: 1;
    font-size: 27px;
}

.bottom_4 {
    height: 58px;
    overflow: hidden;
    display: flex;
    /*border: 1px solid red;*/
}

.b_img_1 {
    text-align: end;
    margin-right: 15px;
}

.b_img_2 {
    text-align: end;
    margin-right: 15px;
    transform: translateY(-58px);
}

.b_img_3 {
    text-align: end;
    margin-right: 15px;
    transform: translateY(-116px);
}

.b_img_4 {
    text-align: end;
    margin-right: 15px;
    transform: translateY(-175px);
    border: 1px solid darkmagenta;
    flex: 1;
}
.b_text {
    text-align: left;
    line-height: 58px;
    flex: 2;
    /*margin-left: 10px;*/
    /*border: 1px solid black;*/
}

.bottom_5 {
    margin-top: 200px;
    /*border: 1px solid red;*/
    height: 160px;
    display: flex;
}

.half_bottom_5 {
    flex: 1;
    display: flex;
}

.bottom5_part {
    flex: 1;
}

.ul_title {
    color: #4C4C4C;
    font-size: 20px;
}

.bottom5_part a {
    color: #9C9C9C;      /* 继承父级颜色 */
    cursor: pointer;
}

.bottom_5  ul {
    margin-top: 25px;
    list-style: none;
}

.bottom_5  ul li {
    color: #9C9C9C;
    font-size: 16px;
    padding: 7px 7px 7px 0;
    /*border: 1px solid red;*/
}

.bottom5_part2 {
    flex: 2;
    /*border: 1px solid red*/
}

.a2 {
    /*color: red;      !* 继承父级颜色 *!*/
    cursor: pointer;
}

.a2 span {
    color: #05BF9C;
}
.bottom5_part3 {
    flex:1;
    margin-top:auto;
    margin-bottom: auto;
    /*border: 1px solid red*/
}

.bottom5_part3 img {
    display: block;
    margin: 0 auto;
    /*border: 1px solid lawngreen;*/
}

.bottom5_part3 div {
    text-align: center;
}

.bottom_6 {
    margin-top: 100px;
    height: 20px;
    /*border: 1px solid red;*/
    text-align: center;
    font-size: 16px;
    color: #9C9C9C;
}

.bottom_6 a {
    text-decoration: none;
    color: inherit;      /* 继承父级颜色 */
    cursor: pointer;     /* 保持鼠标指针为手型 */
}

.bottom_7 {
    margin-top: 10px;
    height: 20px;
    /*border: 1px solid red;*/
    text-align: center;
    font-size: 15px;
    color: #9C9C9C;
}